home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / prbgi097.zip / INTRO.DOC < prev    next >
Text File  |  1992-12-15  |  5KB  |  110 lines

  1.          WHAT PRINTBGI package IS ?
  2.  
  3. PRINTBGI is an excellent package for printing graphics on bit image
  4. devices. 
  5.    It is addressed to programmers using BORLAND languages 
  6. and BGI drivers for drawing graphics output. It is not for end-users.
  7.    Currently it supports all standard 9 pins, 24 pins and HP
  8. LaserJet II compatible printers. In the future it will support other
  9. printers (especially color ones), some plotters and other devices
  10. (not necessary bit image ones, of course) accordingly to user signals 
  11. and needs. 
  12.    SINCE NOW YOU CAN PRINT YOUR PICTURES ON VARIETY OF PRINTERS 
  13. AT ANY SIZE AND RESOLUTION ! NOT JUST BEING DEPENDED ON PRINT SCREEN 
  14. IMAGES THAT SOMETIMES LEAVE MUCH TO BE DESIRED.
  15.  
  16.  
  17.          HOW YOU USE PRINTBGI ?
  18.  
  19. The usage of my PRINTBGI package is very simple. THE SAME CODE YOU
  20. ARE USING TO DRAW PICTURE ON THE SCREEN MAY PRINT IT OUT ON YOUR
  21. PRINTER! No additional coding needed. Just add few lines to inform
  22. the package about printer being used, desired picture sizes and
  23. resolution and you are ready to print.
  24.    So the same procedure may draw picture on the screen or print it out
  25. on your printer. Only one place to correct your code in the future, 
  26. no additional space occupied by compiled code, no additional work to 
  27. write "printing" functions.
  28. And you still have the possibility to press Print Screen and make fast 
  29. screen copy on the printer.
  30.  
  31.  
  32.          HOW IT WORKS ?
  33.  
  34. PRINTBGI contains Borland BGI compatible driver called BITIMAGE BGI
  35. driver. This driver, when used, instead of drawing the picture on the
  36. screen creates bit image map of the picture in the memory. 
  37. Next functions included in the library print it out.
  38.  
  39.          HOW MUCH DOES IT COST ?
  40.  
  41. In the term of money it may be so cheap as 15$ (see REGISTER.DOC for 
  42. details). In the term of your effort you must write procedures in the
  43. way independent of BGI driver being used. In particular you should
  44. compute all figures positions and sizes at run time according to "screen"
  45. size (using for example getmaxx and getmaxy functions) or according to
  46. DPI resolution. That's all. So little and so much at the same time.
  47.  
  48.  
  49.          LIMITATIONS
  50.  
  51. To tell you the truth there are some disadvantages of using
  52. PRINTBGI package.
  53.    In the current version my BITIMAGE BGI driver is unfortunately
  54. perceptible slower than the original Borland's drivers (but it can
  55. use EMS memory for its usually large buffers just not stealing you
  56. conventional memory). In addition to higher resolution
  57. that printers have over the screen, quite slow DOS output procedures used,
  58. it gives quite a big difference in the execution time.
  59.    Second the images printed on the printer may differ from
  60. what may be seen on the screen. This is due to two reasons. First
  61. you must be very careful about rescaling all output. Second my algorithms
  62. are likely different from that Borland was used and may produce
  63. slightly different results. But the difference should not increase
  64. one pixel except cases described particular in PRINTBGI.DOC.
  65.    Another disadvantage is that you cannot use (in current Borland
  66. products) two BGI drivers at the same time. So when you want to
  67. print something using PRINTBGI package you must close down any BGI
  68. driver being used (using closegraph not restorecrtmode function).
  69. This consequently means that the screen must be in text mode during
  70. printing. 
  71.    That's all disadvantages I know. You can give me a note if
  72. you find some others.
  73.  
  74.          SOURCES
  75. Full sources are available. See REGISTER.DOC for details.
  76.  
  77.          FILES INCLUDED
  78.  
  79. Following files are included in the current release of this PRINTBGI package.
  80.  
  81. BITIMAGE BGI - BGI driver.
  82. REGISTER DOC - Contains information about registration.
  83. PRINTBGI DOC - Main documentation file.
  84. INTRO    DOC - Explains what this package is for.
  85. REGISTER FRM - Registering form.
  86. BGIDEMO  EXE - Demo program.
  87. DRIVERS  ASM - Contains drivers definitions.
  88. DRIVERS  INC - Needed to compile DRIVERS.ASM
  89.                Files for C version:
  90. BGIDEMO  C   - C Sources for BGIDEMO.EXE.
  91. PRTGRAPH LIB - Library containing all package functions.
  92. PRTGRAPH H   - Include file needed to use PRTGRAPH.LIB.
  93. BGIDEMO  PRJ - PRJ file used to compile BGIDEMO.C (created by BC++ 3.0).
  94.                Files for Pascal version:
  95. BGIDEMO  PAS - Pascal Sources for BGIDEMO.EXE.
  96. PRTGRAPH INT - Interface part of PRTGRAPH.PAS
  97.       *  TPU - Turbo Pascal 6.0 units used by BGIDEMO.PAS
  98.  
  99. Any comments, suggestions, questions and other messages send to the
  100. author at the following addresses
  101.  
  102. email address:     RESZTAK@PLUMCS11.bitnet
  103.  
  104. mail address:      Andrzej Resztak
  105.                    20-607 Lublin
  106.                    ul. K.Wallenroda 2c/18
  107.                    POLAND
  108.  
  109.  
  110.